package chapter5;
import java.util.Scanner;
/****************************************************************
 * Author：icynlau
 * Description: 数列求和
 * Date:2021/4/3
 * ***************************************************************
 */
public class exc5_24 {
	public static void main(String[] args) {
		double sum=0;
		
		for(int i=1;i<99;i+=2) {
			sum+=i*1.0/((i+2)*1.0);
			
		}
		
		System.out.print("The answer is "+sum);
		
		
	}

}
